Repository navigation
feat(import): turn keywords into tags on request and ask for missing titles (0.10.0) - #9
Merged
Merged
Conversation
Lists live items with an empty title and builds up to five offline suggestions with reasons, plus an on-request identifier lookup.
Adds the untitled, title-suggestions and title-lookup routes and registers them.
Import takes keywords_as_tags, splits each entry's keywords with one shared splitter and tags the new item inside its own record transaction, reusing tags that differ only in case. Adds a from-keywords pass over existing items with a dry run.
The import route accepts keywords_as_tags, and a new route converts keywords of existing items into tags with an optional dry run.
The import verb gains --keywords-as-tags and reports the tag counts, and tags from-keywords converts existing items with --collection and --dry-run.
The import_references tool takes an optional keywords_as_tags flag and says the tag counts when it is on.
Skips placeholder and name-year citation keys and adds a publisher or institution suggestion for entries with no creator.
The command line lists untitled entries, prints the same suggestions with reasons and sets a title, refusing an empty one.
The engine side of the Add dialog keeps the keywords-as-tags choice for the session, sends it with each import and raises the tags notice when items were tagged.
The Import tab gains an unticked box that a dropped or pasted import obeys, and a dropped import now writes its result on the tab's line.
Adds the untitled, suggestion, lookup and set-title calls and a small count holder that reports how much the count rose.
Fixed-height rows with a title field, up to five suggestion buttons in a reserved strip, an on-request lookup, a nav count hidden at zero and one toast after an import.
Declares and mounts the view beside Trash and links titles.css.
The import page gives the splitter rules, the new counts, the option on the route and the command line, and the from-keywords pass; the window page names the new box.
The skill names the import option on the MCP tool and the command line, asks for it only when the person wants it, and lists the from-keywords verb.
Records the splitter rules, the duplicate choice and the measured counts and window check for keywords as tags.
The list patch keeps the longest run of nodes where they are and inserts only the others, so a focused node is not detached when it is already in place. A moved focused node gets focus and its selection range back.
Reads of tags and collections older than the latest notice or rename are dropped. A tag typed in the item pane gets its row at once at its sorted place and is rekeyed to the engine's id without moving. The tag list scrolls inside a capped box.
Suggestions arriving no longer move the lookup button, and the toast action dismisses its toast as it opens the view.
Adds TITLES.md and a Needs a title section to WINDOW.md.
The note was cleared after the list rendered, so the last save hid the empty-state message.
Records the untitled rule, suggestion order, the lookup lock choice, the nav and toast workarounds and the measurements.
Records the patchlist rule, the dropped late reads, the row added at the input and what was measured.
An insert of more than twelve new ids, or into an empty list, now re-reads the list once instead of asking a position and a row for every id, so a 200-item import shows its rows and count at once.
The cite service's import body accepts keywords_as_tags and passes it to the import, off by default.
Records why a big import left the list empty under a slow network and what the re-read measured.
Moves every version site to 0.10.0 and adds the changelog section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(import): turn keywords into tags on request and ask for missing titles (0.10.0)
Summary
--keywords-as-tagson the command line, the import route, the MCP import tool and the cite service; andtags from-keywords(with a dry run) for a library already imported. The keywords stay on the item as text../formcite cli titles.Commits
27 commits, release commit last. No hashes, since they change when signed. By type: feat 13, fix 6, docs 7, chore 1. By the scope in each subject: titles 8 · import 3 · hashout 3 · cli 2 · add 2 · and one each for window, skill, side, mcp, log, itemlist, dom, cite and release.
Version
v0.10.0 (release commit is last). Moved:
frontend/package.json, both fields infrontend/package-lock.json,frontend/src/version.ts,backend/app/__init__.py,src-tauri/Cargo.tomland its entry insrc-tauri/Cargo.lock,src-tauri/tauri.conf.json, the three files ofnative/formcite-style, the "Current build version" line in four logs, and a new section inCHANGELOG.md.Checks
Run by the orchestrator at the head: the engine and command line import; the style regression set, twelve PASS; the window type check; the skill validator on the
formciteskill, 0 FAIL. Each of the 26 commits before the release commit was checked out in a copy and imported: 26 of 26. Scans over the new commits: one author and committer, offset -0500, no attribution words, no merge commit, no test file, no em dash or emoji in changed markdown, no raw z-index.Run by the orchestrator once on the new head, in a private built copy served by the engine, 2,000 imported items, processor slowed 4x, 400 ms latency at about 400 kbit/s, cache off, cold load: five sorts and one reversed, filter to 458 and clear, select, six arrow keys, a title edit (its row updated), scroll. Layout-shift entries: 0 without input, 0 with input. Row pool 55. No page error.
Run by agents only: a 200-entry file imported with the option off (0 tags) and on (49 tags created, 199 items tagged, 651 links, equal to a separate count), again as RIS and CSL JSON, and through
tags from-keywordsdry and real with the same result; the window drop with the box ticked (0 shift); twelve title-less entries with every suggestion read; the "Needs a title" view under throttling (one notice, pick, type, an empty save refused, the count to zero; 0 without input, 0.0247 with input when a saved row leaves); a 200-entry drop into an empty and a 2,000-item library (rows and count in 3 to 4 seconds, no position requests); ten tag renames with focus kept ten of ten; five new tags at 0 without input.Not run: the desktop shell (it has never been compiled); the CI workflow for these commits; "Look it up" against a live service; the cite service's import over HTTP; the MCP import tool end to end. Not fixed: the loss of focus after a tag rename reported in 0.9.0 could not be reproduced in seventeen tries, its cause is unknown, and the two guards added are not a claimed fix.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.